/*
package com.huike.review.controller;

import com.huike.review.pojo.Review;
import com.huike.review.service.ReviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/review")
public class ReviewController {
    @Autowired
    private ReviewService reviewService;

    */
/**
     * 添加
     * @param review
     * @return
     *//*

    @RequestMapping("/add")
    public String add(@RequestBody Review review){
        reviewService.add(review);
        return "添加成功";
    }

    */
/**
     * 删除
     * @param id
     * @return
     *//*

    @RequestMapping("/delete")
    public String delete(Integer id){
        reviewService.delete(id);
        return "删除成功";
    }

    */
/**
     * 修改
     * @param review
     * @return
     *//*

    @RequestMapping("/update")
    public String update(@RequestBody Review review){
        reviewService.update(review);
        return "修改成功";
    }

    */
/**
     * 查询
     * @param reviews
     * @return
     *//*

    */
/*@RequestMapping("/select")
    public Review select(@RequestBody List<Review> reviews){
        List<Review> list = reviewService.selectAll();
        list.forEach(review -> System.out.println(list));
    }*//*

}
*/
